window.onload = function () 
{
	document.getElementById("header-wrapper").style.position="relative";
    document.getElementById("login_content_form_textarea_name").focus();
	
    if(document.getElementById("login_content_form")!=null)
	{
        document.getElementById("login_content_form").onsubmit=function()
		{
			//window.alert("录入完成");
            var username=document.getElementById("login_content_form_textarea_name").value;
			localStorage.setItem("username" , username );
			location.assign("./home.html")
            return false;
        }
    }
}